'''
  This Source Code Form is subject to the terms of the Mozilla Public
  License, v. 2.0. If a copy of the MPL was not distributed with this
  file, You can obtain one at http://mozilla.org/MPL/2.0/.
'''
class wifi:
    ssid: str = "EXAMPLE_SSID"
    password: str = "12345678"
    connectTimeLimit: int = 10
    getOnLineTimeLimit: int = 1
    
class logger:
    logFilePath: str = "log/sys.log"
    logLevels: list = ["debug", "info", "warning", "error", "fatal"]
    logLevel: str = "debug"
    logEncoding: str = 'utf-8'
    forcePrint: bool = True
    recordLog: bool = False
    espLogLevel: int = 4
    
class time:
    ntpSource: str = "ntp.ntsc.ac.cn"#中国科学院国家授时中心
    ntpTimeOut: int = 3
    
class display:#VSPI
    mosiDataIO: int = 10
    spiClock: int = 11
    spiCS: int = 12
    PhyWIDTH: int = 32